WooCommerce\PayPalCommerce\Button\Endpoint\ChangeCartEndpoint S

Total Complexity 26
Dependencies 10
Dependents 2
Total lines 270
Lines of code 135
Logical lines of code 55
Comment lines 88
Methods 9
Properties 5

Methods 9

Method Rating Maintainability Complexity Lines of code
products_from_data()
A
53 8 24
handle_data()
S
48 6 36
handle_request()
S
59 4 15
handle_error()
S
53 2 26
add_variable_product()
S
60 2 13
__construct()
S
69 1 7
nonce()
S
80 1 3
add_product()
S
78 1 3
generate_purchase_units()
S
69 1 8